/*
 * @Author: xuningda 1721417139@qq.com
 * @Date: 2022-08-10 12:45:40
 * @LastEditors: xuningda 1721417139@qq.com
 * @LastEditTime: 2022-09-08 15:59:00
 * @FilePath: \WEB\src\utils\basicSetting\BdOrganization.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export function BdOrganization() {
    let obj = new Object()
    obj.createdBy = ''
    obj.createdOn = ''
    obj.deptCode = ''
    obj.deptName = ''
    obj.id = 0
    obj.pdeptCode = ''
    obj.pdeptName = ''
    obj.rowStatus = '' // --启用字段   '空' 全部  0 启用  1未启用
    obj.ruleCode = ''
    obj.updatedBy = ''
    obj.updatedOn = ''
    obj.yard = 1
    obj.pageIndex = 1
    obj.pageSize = 20
    obj.relationStatus = '' // --关联  0 有效    1 无效  'kong'全部 
    obj.parentRuleCode = ''
    return obj
}



export function getdownloadTemplateDownLoadExcel(params) {
    return request({
        url: '/BdOrganization/downloadTemplate',
        method: 'POST',
        data: params,
        responseType: 'blob'
    })
}